/*
 * Copyright (C) 2014 Realtek Semiconductor Corp.
 * All Rights Reserved.
 *
 * This program is the proprietary software of Realtek Semiconductor
 * Corporation and/or its licensors, and only be used, duplicated,
 * modified or distributed under the authorized license from Realtek.
 *
 * ANY USE OF THE SOFTWARE OTHER THAN AS AUTHORIZED UNDER
 * THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
 *
 * Purpose : Definition of ME attribute: Extended ONU-G ZTE (65305)
 *
 * Feature : The file includes the following modules and sub-modules
 *           (1) ME attribute: Extended ONU-G ZTE (65305)
 */

#ifndef __MIB_ME65305_H__
#define __MIB_ME65305_H__

#ifdef __cplusplus
extern "C" {
#endif

#define MIB_TABLE_ME65305_ATTR_NUM (8)
#define MIB_TABLE_ME65305_ENTITY_ID_INDEX ((MIB_ATTR_INDEX)1)
#define MIB_TABLE_ME65305_STATE_INDEX ((MIB_ATTR_INDEX)2)
#define MIB_TABLE_ME65305_MODE_INDEX ((MIB_ATTR_INDEX)3)
#define MIB_TABLE_ME65305_PROTOCOL_INDEX ((MIB_ATTR_INDEX)4)
#define MIB_TABLE_ME65305_INGRESS_TYPE_INDEX ((MIB_ATTR_INDEX)5)
#define MIB_TABLE_ME65305_INGRESS_TYPE_VALUE_INDEX ((MIB_ATTR_INDEX)6)
#define MIB_TABLE_ME65305_START_SRCIP_INDEX ((MIB_ATTR_INDEX)7)
#define MIB_TABLE_ME65305_END_SRCIP_INDEX ((MIB_ATTR_INDEX)8)

typedef struct {
	UINT16	EntityId;
	UINT8	State;
	UINT8	Mode;
	UINT8   Protocol;
	UINT16	IngressType;
	UINT16	IngressTypeValue;
	UINT32	StartSrcIP;
	UINT32	EndSrcIP;
} __attribute__((packed)) MIB_TABLE_ME65305_T;


#ifdef __cplusplus
}
#endif

#endif
